package com.dkd.easybook.domain;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
/**
 * 笔记列表对象 eb_notes
 *
 * @author itheima
 * @date 2024-12-13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EbNotes extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 笔记ID
     */
    private Long noteId;
    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;
    /**
     * 类别ID
     */
    @Excel(name = "类别ID")
    private Long categoryId;
    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;
    /**
     * 内容
     */
    @Excel(name = "内容")
    private String content;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;
    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;
    /**
     * 附件ID
     */
    @Excel(name = "附件ID")
    private List<Long> attachmentIds;
}
